package com.atguigu.tms.mock.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 职员表
 * </p>
 *
 * @author zhangchen
 * @since 2022-03-20
 */
@Data
public class EmployeeInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;



    /**
     * 名称
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 姓名
     */
    private String realName;

    /**
     * 身份证号
     */
    private String idCard;

    private Date birthday;

    private String gender;

    private String education;

    private Date graduationDate;

    private Date employmentDate;

    /**
     * 手机
     */
    private String phone;


    @TableField(exist = false)
    private Long orgId;

    /**
     * 岗位id
     */
    private String positionType;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 删除标记（0:不可用 1:可用）
     */
    private String isDeleted;


}
